package net.vkits.auth.domain.model;

import com.fasterxml.jackson.annotation.JsonValue;

/**
 * Created by ethan-liu on 16/3/20.
 */
public enum PermissionType {
    MENU("菜单"), BUTTON("按钮");
    private final String typeName;

    PermissionType(String typeName) {
        this.typeName = typeName;
    }

    @JsonValue
    public String getTypeName() {
        return typeName;
    }
}
